<template>
  <div class="bg">
    <div class="content">
      <div class="flex-box">
        <left-info-bar></left-info-bar>
        <middle-content></middle-content>
        <right-content></right-content>
      </div>
    </div>
  </div>
</template>

<script>
import LeftInfoBar from './LeftInfoBar.vue';
import MiddleContent from './MiddleContent.vue';
import RightContent from './RightContent.vue';
export default {
  name: 'Submit',
  components: {
    LeftInfoBar,
    MiddleContent,
    RightContent,
  },
   mounted(){
// 当非管理员用户进行此路由时，返回登录页面
          const message = this.$store.state.moudlesUserInfo.info;
        // const id =2;
            if(!message?.is_senior){
                this.$router.push({path:'/login'})
            }
    },
};
</script>

<style lang="less" scoped>
.bg {
  position: relative;
  .body-size();
  //   background-image: url('../../assets/img/admin/bg.png');
  .bg-maker();
}
.content {
  width: 95vw;
  .to-center-ab();
  height: 96vh;
}
.flex-box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  height: 100%;
}
</style>
